<?php

namespace App\Http\Controllers;

use App\Service\PermissionService;
use Illuminate\Http\Request;

class PermissionController extends Controller
{
    //
    public function index()
    {
        $permissionService = new PermissionService();
        return $permissionService->getAllPermission();
    }
}
